package com.wfw.consumer.feign;

import com.wfw.consumer.entity.UserInfo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * Created by yuzhongbo on 2018/9/18.
 */

@FeignClient(name="wfw-provider")
public interface  UserInfoFeign {
    @GetMapping("/getUserinfos")
    public List<UserInfo> getUserinfos();
}
